import tesserocr
from PIL import Image
image=Image.open('OIP.jpg')
print(tesserocr.file_to_text(image))